package com.siwei.mes.mapper.system;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 首页统计
 *
 * @author yangke
 * @since 2024-01-01 22:22:20
 */
public interface HomeMapper {
    Map<String, Integer> experimentAnalysis(@Param("userId") String userId);

    Map<String, Integer> experimentAnalysisAll();

    Map<String, Integer> orderAnalysis(@Param("userId") String userId);

    Map<String, Integer> orderAnalysisByUserList(Map<String, Object> map);

    // TODO: 2024/8/11 这里所有tgl的表都作废 需要重新写 
    List<Map> purchaserPredict();

    List<Map> orderTrendAnalysis();

    List<Map> workOrderTypeAnalysis();
}
